package javat.util;

import static net.ftng.commons.lang.utils.PrintUtils.println;
import static org.junit.Assert.assertEquals;

import java.util.LinkedHashMap;
import java.util.Map;

import org.junit.Test;

public class LinkedHashMapTest {

    Map<Long, Long> map;

    @Test
    public void nullKey() {

        map = new LinkedHashMap<Long, Long>();
        map.put(null, 1L);
        println(map);
        Long expected = 1L;
        assertEquals(expected, map.get(null));
    }

}
